imageware
Class DoubleProcess

java.lang.Object
  extended by imageware.DoubleBuffer
      extended by imageware.DoubleAccess
          extended by imageware.DoublePointwise
              extended by imageware.DoubleProcess
All Implemented Interfaces:
Access, Buffer, Pointwise, Process
Direct Known Subclasses:
DoubleSet

public class DoubleProcess
extends DoublePointwise
implements Process

Class DoubleProcess.


Field Summary
 
Fields inherited from class imageware.DoubleBuffer
data, nx, nxy, ny, nz
 
Constructor Summary
protected DoubleProcess(byte[][][] array, int mode)
           
protected DoubleProcess(byte[][] array, int mode)
           
protected DoubleProcess(byte[] array, int mode)
           
protected DoubleProcess(double[][][] array, int mode)
           
protected DoubleProcess(double[][] array, int mode)
           
protected DoubleProcess(double[] array, int mode)
           
protected DoubleProcess(float[][][] array, int mode)
           
protected DoubleProcess(float[][] array, int mode)
           
protected DoubleProcess(float[] array, int mode)
           
protected DoubleProcess(java.awt.Image image, int mode)
           
protected DoubleProcess(ij.ImageStack stack, byte chan)
           
protected DoubleProcess(ij.ImageStack stack, int mode)
           
protected DoubleProcess(int nx, int ny, int nz)
           
protected DoubleProcess(short[][][] array, int mode)
           
protected DoubleProcess(short[][] array, int mode)
           
protected DoubleProcess(short[] array, int mode)
           
 
Method Summary
 void add(ImageWare imageware)
          Add a imageware to the current imageware.
 void divide(ImageWare imageware)
          Divide a imageware to the current imageware.
 void max(ImageWare imageware)
          Get the maximum of this imageware and a imageware.
 void min(ImageWare imageware)
          Get the minimum of this imageware and a imageware.
 void multiply(ImageWare imageware)
          Multiply a imageware to the current imageware.
 void smoothGaussian(double sigma)
          Apply a separable gaussian smoothing over the image with the same strengthness in all directions.
 void smoothGaussian(double sigmaX, double sigmaY, double sigmaZ)
          Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions.
 void subtract(ImageWare imageware)
          Subtract a imageware to the current imageware.
 
Methods inherited from class imageware.DoublePointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from class imageware.DoubleAccess
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from class imageware.DoubleBuffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ, throw_constructor, throw_constructor, throw_get, throw_put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface imageware.Pointwise
abs, add, addGaussianNoise, addSaltPepper, addUniformNoise, buildImageStack, clip, clip, divide, exp, fillConstant, fillGaussianNoise, fillRamp, fillSaltPepper, fillUniformNoise, invert, log, multiply, negate, pow, rescale, rescale, rescaleCenter, sqr, sqrt, subtract, threshold, threshold, thresholdHard, thresholdSoft
 
Methods inherited from interface imageware.Access
getBlockX, getBlockX, getBlockX, getBlockX, getBlockXY, getBlockXY, getBlockXY, getBlockXY, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXYZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockXZ, getBlockY, getBlockY, getBlockY, getBlockY, getBlockYZ, getBlockYZ, getBlockYZ, getBlockYZ, getBlockZ, getBlockZ, getBlockZ, getBlockZ, getBoundedX, getBoundedX, getBoundedX, getBoundedX, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXY, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXYZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedY, getBoundedY, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedYZ, getBoundedZ, getBoundedZ, getBoundedZ, getBoundedZ, getInterpolatedPixel, getInterpolatedPixel, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodX, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXY, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXYZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodXZ, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodY, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodYZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getNeighborhoodZ, getPixel, getPixel, putBoundedX, putBoundedX, putBoundedX, putBoundedX, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXY, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXYZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedXZ, putBoundedY, putBoundedY, putBoundedY, putBoundedY, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedYZ, putBoundedZ, putBoundedZ, putBoundedZ, putBoundedZ, putPixel
 
Methods inherited from interface imageware.Buffer
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ
 

Constructor Detail

DoubleProcess

protected DoubleProcess(int nx,
                        int ny,
                        int nz)

DoubleProcess

protected DoubleProcess(java.awt.Image image,
                        int mode)

DoubleProcess

protected DoubleProcess(ij.ImageStack stack,
                        int mode)

DoubleProcess

protected DoubleProcess(ij.ImageStack stack,
                        byte chan)

DoubleProcess

protected DoubleProcess(byte[] array,
                        int mode)

DoubleProcess

protected DoubleProcess(byte[][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(byte[][][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(short[] array,
                        int mode)

DoubleProcess

protected DoubleProcess(short[][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(short[][][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(float[] array,
                        int mode)

DoubleProcess

protected DoubleProcess(float[][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(float[][][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(double[] array,
                        int mode)

DoubleProcess

protected DoubleProcess(double[][] array,
                        int mode)

DoubleProcess

protected DoubleProcess(double[][][] array,
                        int mode)
Method Detail

smoothGaussian

public void smoothGaussian(double sigma)
Apply a separable gaussian smoothing over the image with the same strengthness in all directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigma - Strengthness of the smoothing

smoothGaussian

public void smoothGaussian(double sigmaX,
                           double sigmaY,
                           double sigmaZ)
Apply a separablegaussian smoothing over the image with an independant strengthness in the different directions. To have a smmothing effect the strengthness should be strictly greater than 0 and the size in the considered directions should be greater strictly than 1.

Specified by:
smoothGaussian in interface Process
Parameters:
sigmaX - Strengthness of the smoothing in X axis
sigmaY - Strengthness of the smoothing in X axis
sigmaZ - Strengthness of the smoothing in X axis

max

public void max(ImageWare imageware)
Get the maximum of this imageware and a imageware.

Specified by:
max in interface Process
Parameters:
imageware - imageware to max

min

public void min(ImageWare imageware)
Get the minimum of this imageware and a imageware.

Specified by:
min in interface Process
Parameters:
imageware - imageware to min

add

public void add(ImageWare imageware)
Add a imageware to the current imageware.

Specified by:
add in interface Process
Parameters:
imageware - imageware to add

multiply

public void multiply(ImageWare imageware)
Multiply a imageware to the current imageware.

Specified by:
multiply in interface Process
Parameters:
imageware - imageware to multiply

subtract

public void subtract(ImageWare imageware)
Subtract a imageware to the current imageware.

Specified by:
subtract in interface Process
Parameters:
imageware - imageware to subtract

divide

public void divide(ImageWare imageware)
Divide a imageware to the current imageware.

Specified by:
divide in interface Process
Parameters:
imageware - imageware to divide